﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TopVisionVideoStream
{
    public class ConfCallResponse
    {
        private const string strFormat = "ConfCall status: \r\nConfID:{0} \r\nNumber:{1} \r\nRecordURL:{2} \r\nCallFlowID:{3} \r\nStatus:{4} \r\nSucc:{5}";
        /// <summary>
        /// 会议标识
        /// </summary>
        public string confid { get; set; }
        /// <summary>
        /// 呼叫号码
        /// </summary>
        public string number { get; set; }
        /// <summary>
        /// 视频在服务器上的保存路径
        /// </summary>
        public string recordurl { get; set; }
        /// <summary>
        /// 会议流水号
        /// </summary>
        public string callflowid { get; set; }
        /// <summary>
        /// 会议状态
        /// </summary>
        public string status { get; set; }
        /// <summary>
        /// 增加参与方状态
        /// </summary>
        public string succ { get; set; }
        /// <summary>
        /// 操作结果
        /// </summary>
        public string result { get; set; }

        public override string ToString()
        {
            return string.Format(strFormat, confid, number, recordurl, callflowid, status, succ);
        }
    }
}
